<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>snabbdom-dom</title>
    <style>
        body {
            background: #fafafa;
            font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
        }
        #app {
            margin: auto;
            max-width: 42em;
        }
        .add {
            float: right;
        }
        .btn {
            display: inline-block;
            cursor: pointer;
            padding: .5em .8em;
            background: #fff;
            border-radius: .2em;
            margin-left: .2em;
            letter-spacing: .2em;
        }
        .btn.active {
            background: #eee;
        }
        .btn:hover {
            background: #eee;
        }
        h1 {
            font-weight: normal;
        }
        .list {
            position: relative;
        }
        .row {
            background: #fff;
            box-sizing: border-box;
            padding: 1.5em;
            margin: .5em 0;
            position: relative;
        }
        .row span {
            display: inline-block;
            vertical-align: middle;
            line-height: 1.5em;
        }
        .row > span:nth-child(1) {
            width: 5%;
        }
        .row > span:nth-child(2) {
            width: 25%;
        }
        .row > span:nth-child(3) {
            width: 70%;
        }
        .row a {
            cursor: pointer;
            position: absolute;
            top: 0;
            right: 0;
            color: #C25151;
            width: 1.4em;
            height: 1.4em;
            text-align: center;
            line-height: 1.4em;
            padding: 0;
            border: .05em solid #f5f5f5;
            border-top: none;
            border-right: none;
        }
    </style>
</head>
<body>
    <div id="app"></div>
    <script src="js/index.js"></script>
</body>
</html>